<?php
require_once('merchant_fns.php');
check_merchant();
$name = $_POST['name'];
$info = $_POST['info'];
$price = $_POST['price'];
/*if(!is_int($price)||!is_double($price)||$price<0){
    echo "价格必须是整数或者小数";
    exit;
}*/
release_dishes($name, $info, $price);
?>